﻿using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;

namespace DotnetCore.Module
{
    public class DcModuleInfo
    {
        public Assembly Assembly { get; }
        public Type Type { get; }

        public DcModule Instance { get; }

        public DcModuleInfo(Type moduleType, DcModule instance)
        {
            Type = moduleType;
            Instance = instance;
            Assembly = Assembly.GetAssembly(moduleType);
        }
    }
}
